package com.juzipi.demo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/*
封装emp表的javaBean
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Emp {

    private int id;
    private String ename;
    private int job_id;
    private int mgr;
    private Date joindate;
    private double salary;
    private double bonus;
    private int dept_id;

}
